package com.sh.suhe.utildemos.utils.socket.util;

public class EntityObject {
    public static final int SEND_SCAN = 0;                 // 分时数据

    private Object extra;
    private int entityType;
    private Object entity;
    public EntityObject(int reqType, Object entity, Object extra) {
        this.entityType = reqType;
        this.extra = extra;
        this.entity = entity;
    }

    public Object getExtra() {
        return extra;
    }

    public void setExtra(Object extra) {
        this.extra = extra;
    }

    public int getEntityType() {
        return entityType;
    }

    public void setEntityType(int entityType) {
        this.entityType = entityType;
    }

    public Object getEntity() {
        return entity;
    }

    public void setEntity(Object entity) {
        this.entity = entity;
    }
}
